package com.xh.bussiness.system.dao;

import com.xh.bussiness.system.bean.dto.IconDto;
import com.xh.bussiness.system.bean.request.IconRequest;
import com.xh.bussiness.system.model.Icon;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 图标 Mapper 接口
 * </p>
 *
 * @author zwb
 * @since 2021-06-03
 */
@Repository
public interface IconMapper extends BaseMapper<Icon> {
    Integer queryCount(@Param("bean") Icon icon);
    Integer queryIconCount(@Param("bean")IconRequest icon);
    List<IconDto> queryIconBySubject(@Param("bean")IconRequest bean);
    int off(@Param("ids")String[] ids,@Param("status")Integer status);
}
